<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>添加车辆</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <link rel="stylesheet" href="../../../layui/css/layui.css" media="all">
    <link rel="stylesheet" href="../../../layui/layuiAdmin/css/admin.css" media="all">
    <style>
        .st{
            width: 270px!important;
        }
        .layui-form-label{
            width: 120px!important;
        }
        .xinghao{
            color: red!important;
        }
    </style>
</head>
<body>

<!--表单-->
<div class="layui-form" lay-filter="layuiadmin-form-useradmin" id="layuiadmin-form-useradmin" style="padding: 20px 0 0 0;">

    <!--  车牌号  -->
    <div class="layui-form-item">
        <label class="layui-form-label">车牌号<span class="xinghao">*</span></label>
        <div class="layui-input-inline st">
            <input type="text" name="carId"  placeholder="请输入车牌号" autocomplete="off" class="layui-input">
        </div>
    </div>
    <!--  发动机型号  -->
    <div class="layui-form-item">
        <label class="layui-form-label">发动机型号<span class="xinghao">*</span></label>
        <div class="layui-input-inline st">
            <input type="text" name="engineModel"  placeholder="请输入发动机型号" autocomplete="off" class="layui-input">
        </div>
    </div>
    <!--  载重  -->
    <div class="layui-form-item">
        <label class="layui-form-label">载重<span class="xinghao">*</span></label>
        <div class="layui-input-inline st">
            <input type="text" name="payloadWeight"  placeholder="请输入载重" autocomplete="off" class="layui-input">
        </div>
    </div>
    <!--  车辆类型(下拉列表)  -->
    <div class="layui-form-item">
        <label class="layui-form-label">车辆类型</label>
        <div class="layui-input-block">
            <select name="carType">
                <option value="大卡车" title="大卡车">大卡车</option>
                <option value="小皮卡" title="小皮卡">小皮卡</option>
            </select>
        </div>
    </div>
    <!--  状态 -->
    <div class="layui-form-item">
        <label class="layui-form-label">状态</label>
        <div class="layui-input-block">
            <input type="radio" name="state" value="正常" title="正常" checked="">
            <input type="radio" name="state" value="维修" title="维修">
        </div>
    </div>
    <!--备注-->
    <div class="layui-form-item layui-form-text">
        <label class="layui-form-label">备注</label>
        <div class="layui-input-inline st">
            <textarea name="remarks" placeholder="请输入内容" class="layui-textarea"></textarea>
        </div>
    </div>
    <!--  提交 -->
    <div class="layui-form-item layui-hide">
        <input type="button" lay-submit lay-filter="LAY-user-front-submit" id="LAY-user-front-submit" value="确认">
    </div>
</div>

<script src="../../../layui/layui.js"></script>
<script>
    layui.config({
        base: '../../../layui/layuiAdmin/' //静态资源所在路径
    }).extend({
        index: 'lib/index' //主入口模块
    }).use(['index', 'layer', 'form','layedit','laydate'], function(){
        var $ = layui.$
            ,form = layui.form
            ,layer = layui.layer
            ,laydate = layui.laydate
            ,layedit = layui.layedit;

        //常规用法
        laydate.render({
            elem: '#hiredate'
        });

    })
</script>
</body>
</html>